package cn.techjc.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.techjc.domain.Users;
import cn.techjc.utils.BaseDao;


@Repository
public class UsersMapper extends BaseDao{

	public List<Users> userList() {
    List<Users> results =getSqlSession().selectList("user.userList");
		return results;
	}

	public Users selectIdByName(String userName) {
		 Users user=  getSqlSession().selectOne("user.selectIdByName",userName);
		return user;
	}
	
	
	
}